package cn.bon.schedule.api.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

/**
 * @Author Lc_cL
 * @Date 2024/1/15
 * @Description
 */
@Getter
@AllArgsConstructor
@Schema(description = "排班模式")
public enum ScheduleMode implements Serializable{
    OF_PERSON("按人员"),
    OF_GROUP("按班组");

    @EnumValue
    @JsonValue
    private final String value;
}







